#-------------------------------------------------
#
# Project created by QtCreator 2018-07-28T16:18:31
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS

QT       += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TRANSLATIONS += odometryInstructionViewEnglish.ts

TARGET = OdometryInstructionView
TEMPLATE = lib

DEFINES += ODOMETRYINSTRUCTIONVIEW_LIBRARY

SOURCES += \
        odometryinstructionview.cpp

HEADERS += \
        odometryinstructionview.h \
    odometryinstructionview_global.h

FORMS += \
        odometryinstructionview.ui

INCLUDEPATH += ../../ProgramSet
INCLUDEPATH += ../../../include/MacroDefine
INCLUDEPATH += ../../CommunicateDelegate
INCLUDEPATH += ../../ProgramLanguageTranslate

unix {
    target.path = /usr/lib
    INSTALLS += target
}

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../../lib/x86_WINDOWS

LIBS += -L ../../../lib/x86_WINDOWS -lprogramView

}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../../lib/x86
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../../lib/arm
}

UI_DIR += ../../../build/tmphmi/x86_linux
MOC_DIR += ../../../build/tmphmi/x86_linux
OBJECTS_DIR += ../../../build/tmphmi/x86_linux
RCC_DIR  += ../../../build/tmphmi/x86_linux
